package com.xydtech.ecard.custgroup.service;

import com.xydtech.ecard.custgroup.domain.EcardApiCustomerGroupOrganize;
import com.xydtech.ecard.custgroup.domain.EcardApiCustomerOrganizeHandover;

import java.util.List;

/**
 * 社团组织信息Service接口
 *
 * @author yuzhiguo
 * @date 2024-11-29 上午9:31
 */
public interface IEcardApiCustomerGroupOrganizeService {

    /**
     * 条件查询社团组织信息
     * @param ecardApiCustomerGroupOrganize
     * @param salt
     * @return
     */
    List<EcardApiCustomerGroupOrganize> getOrganizeInfoList(EcardApiCustomerGroupOrganize ecardApiCustomerGroupOrganize, String salt);

    /**
     * 查询社团组织详情接口
     * @param id
     * @param salt
     * @return
     */
    EcardApiCustomerGroupOrganize selecteEardCustomerGroupOrganizeById(Long id, String salt);

    /**
     * 唯一值验证，相同法人机构、社团组织名称不能重复
     * @param ecardCustomerGroupOrganize
     * @return
     */
    int validateGroupOrganizeInfo(EcardApiCustomerGroupOrganize ecardCustomerGroupOrganize);

    /**
     * 保存社团组织信息
     * @param ecardCustomerGroupOrganize
     * @param salt
     * @return
     */
    int addCustomerGroupOrganize(EcardApiCustomerGroupOrganize ecardCustomerGroupOrganize, String salt);

    /**
     * 社团组织转交
     * @param ecardCustomerOrganizeHandover
     * @return
     */
    int addOrganizeTransferInfo(EcardApiCustomerOrganizeHandover ecardCustomerOrganizeHandover);

    /**
     * 根据ID修改社团组织信息状态
     * @param id
     * @return
     */
    int changeOrganizeStatus(Long id);
}
